/*
* Copyright© 2018 Shanxi Lu'an Taihang Laihui Net Tech co.,LTD.
*/
package com.laihuichuxing.netty.server.server.module.login.service;

import com.laihuichuxing.netty.common.core.session.Session;
import io.netty.channel.Channel;

/**
 * Description: 登录模块
 *
 * @author YangGuang
 * @since: 1.0
 * Create Date Time: 2018/7/16 16:13
 * Update Date Time:
 */
public interface LoginService {

    /**
     * 登录
     * @param session session
     * @param type 用户类型: 1:乘客 2:车主
     * @param mobile 手机号
     * @param channel
     */
    void login(Session session, int type, String mobile, String token, Channel channel);
}
